package org.crazyit.cloud.contract;

import feign.Feign;

/**
 *
 */
public class ContractMain {
    public static void main(String[] args) {
        ContractClient client = Feign.builder()
                .contract(new MyContract())
                .target(ContractClient.class, "http://127.0.0.1:8080");
        String result = client.hello();
        System.out.println(result);
    }
}
